package com.weirong.smartvault.backservice.service;

import com.weirong.smartvault.dao.CashboxUnitRepository;
import com.weirong.smartvault.entity.CashboxUnit;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CashboxUnitService {

    @Autowired
    private CashboxUnitRepository cashboxUnitRepository;

    public Iterable<CashboxUnit> findAll()
    {
        return this.cashboxUnitRepository.findAll();
    }

}
